package com.chefu.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chefu.system.pojo.Role;
import com.chefu.system.pojo.User;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author goodgoodstudy
 * @since 2021-03-30
 */
public interface UserMapper extends BaseMapper<User> {


    void insertUserRole(@Param("roleId") Long roleId,@Param("userId")  Long userId);

    void deleteUserRoleByUserId(Long userId);
}
